from evalscope.run import run_task
from evalscope.summarizer import Summarizer

def run_eval():
    task_cfg = './vlm_dataset-7b.yaml'

    run_task(task_cfg=task_cfg)

    print('>> Start to get the report with summarizer ...')
    report_list = Summarizer.get_report_from_cfg(task_cfg)
    # print(f'\n>> The report list: {report_list}')

run_eval()